﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GUI
{
    public class Utilities
    {
        public static void Thoat(object sender, FormClosingEventArgs e, Form a)
        {
            if (MessageBox.Show(a,"Thoat ?", "Thoát", MessageBoxButtons.YesNo, MessageBoxIcon.Question ) == DialogResult.No)
            {
                e.Cancel = true;
            }
        }
    }
}
